package com.cloud.pole.user.service.account;

import java.math.BigDecimal;
import java.util.List;

import com.cloud.pole.api.user.UserAccountApi;
import com.cloud.pole.user.model.entity.account.UserAccount;
import com.cloud.pole.user.model.vo.account.UserAccountVo;

/*
*2019年1月30日
*cloud-user
*author:frank-chen
*/
public interface UserAccountService {

	public int handleBalance(Integer typeId, Long userId, String userName, String objectId, Integer objectTypeId, BigDecimal amount, 
    		Long srcUserId, String srcUserName, String srcRealName, String note) throws Exception;
	
	public List<UserAccountApi> getAccountList(String token) throws Exception;
	
	public String getAccountTypeName(Integer typeId)  throws Exception;
	
	public UserAccountVo getUserAccount(String token, Long accountId) throws Exception;
	
}
